home *** CD-ROM | disk | FTP | other *** search
- PROGRAM NAME: Getty.PRG/Wordwrap.PRC
-
- DESCRIPTION║ Samplσ prograφ tha⌠ demonstrate≤ ß procedurσ fo≥ ì
- wrappinτ lonτ characte≥ strings.
-
- ISSUE: April, 1985
- PAGE: D3-23
-
- SOFTWARE VERSIONS: dBASE III, versions 1.0, 1.1
-
- FUNCTION║ Thσ procedurσ Wordwrap.PRC¼ calleΣ b∙ Getty.PRG¼ take≤ ì
- tw∩ parameters¼ thσ namσ oµ thσ strinτ anΣ thσ columε t∩ wrap« ì
- I⌠ theε print≤ thσ string¼ breakinτ i⌠ a⌠ thσ spacσ prio≥ t∩ thσ ì
- columε positioε of the wrap parameter.
-
- FILES NEEDED: Wordwrap.PRC
- Getty.PRG
-
- SETUP INSTRUCTIONS: To call this procedure, type DO Getty.
- Getty.PRG, set up as an example, calls Wordwrap WITH line, max.
- To run this procedure from your own program, type DO Wordwrap
- WITH line, max from within your command file. Line is the string
- to wrap, and can be up to 254 characters long. Max is an integer
- designating the maximum line length.
-